<template>
  <div>
    <my-header/>
    <nuxt/>
    <my-footer/>
  </div>
</template>

<script>
import {
  markVisit,
  markVisible,
  // clearIOSBounce,
} from '~/utils'
import MyFooter from '~/components/footer'
import MyHeader from '~/components/header'

export default {
  components: {
    MyHeader,
    MyFooter
  },
  watch: {
    // $route () { clearIOSBounce() },
  },
  mounted () {
    markVisit.call(this)
    markVisible.call(this)
    // clearIOSBounce()
  },
  head () {
    return {
      meta: [{
        name: 'apple-mobile-web-app-title',
        content: this.$t('site.name')
      }]
    }
  }
}
</script>
